package com.whminwei.edu.api.tchbase.client;

import com.whminwei.common.feign.decoder.FullHttpRspnConfig;
import com.whminwei.common.http.rspn.FullHttpResponse;
import com.whminwei.edu.api.tchbase.dto.fspn.MajorFspn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 专业
 *
 * @author wangy
 * @since 17:47 2024/4/21
 **/
@FeignClient(name = "xzzg-pt-tch-base-service", contextId = "major-info", configuration = FullHttpRspnConfig.class)
public interface MajorClient {
    /**
     * 查询所有专业列表
     *
     * @return com.whminwei.common.http.rspn.FullHttpResponse<com.whminwei.edu.api.tchbase.pojo.fspn.MajorFspn>
     * @author wangy
     * @since 17:49 2024/4/21
     **/
    @PostMapping("/major/getMajorList")
    FullHttpResponse<MajorFspn> getMajorList();

}
